
package com.lpf.aop.service;

import com.lpf.aop.dao.UserDao;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class UserService {

    @Autowired
    private UserDao userDao;

    public void add() {
        log.error("UserService...add");
        // int i =1/0;
        userDao.add();
    }
}
